import { IsInt, IsString, IsDate, IsNumber } from 'class-validator';
export class GoodsResponseDto {
  @IsInt()
  id: number;
  @IsString()
  readonly skuName: string;

  @IsString()
  readonly skuId: string;

  @IsString()
  readonly shopName: string;

  @IsNumber()
  readonly shopPrice: number;

  @IsNumber()
  readonly platformPrice: number;
  @IsDate()
  readonly update_time: Date;
  @IsString()
  readonly source: string;
  @IsString()
  readonly taskId: number;
}
